package com.nd.controller.admin;

import com.nd.pojo.vo.BaseRespVo;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class OtherController {

    @RequestMapping("/noperm")
    public BaseRespVo noPerm(){
        return BaseRespVo.fail("you have no permission~");
    }
    @RequestMapping("/noperm1")
    public BaseRespVo noPerm1(){
        return BaseRespVo.fail("参数异常，请检查！");
    }

}
